package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppSsCitiesDao;
import com.vf.admin.client.service.AppSsCitiesService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.SsCities;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 市
 */
@Service
public class AppSsCitiesServiceImpl implements AppSsCitiesService {

    @Autowired
    AppSsCitiesDao ssCitiesDao;

    @Override
    public List<SsCities> list() {
        return ssCitiesDao.list();
    }

    @Override
    public SsCities get(Integer id) {
        return ssCitiesDao.get(id);
    }

    @Override
    public void save(SsCities haoYou) {
        ssCitiesDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        ssCitiesDao.del(id);
    }

    @Override
    public List<SsCities> findByCitie(Integer provinceid) {
        return ssCitiesDao.findByCitie(provinceid);
    }

    @Override
    public SsCities getCitie(Integer cityid) {
        return ssCitiesDao.getCitie(cityid);
    }
}
